﻿namespace TestTool.Proxies.Onvif
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml.Serialization;

    [Serializable, XmlInclude(typeof(VideoSourceConfiguration)), XmlInclude(typeof(VideoAnalyticsConfiguration)), XmlInclude(typeof(AudioEncoderConfiguration)), XmlType(Namespace="http://www.onvif.org/ver10/schema"), XmlInclude(typeof(AnalyticsEngineInput)), XmlInclude(typeof(AnalyticsEngine)), XmlInclude(typeof(PTZConfiguration)), XmlInclude(typeof(AudioDecoderConfiguration)), XmlInclude(typeof(AudioOutputConfiguration)), XmlInclude(typeof(VideoOutputConfiguration)), XmlInclude(typeof(MetadataConfiguration)), XmlInclude(typeof(AnalyticsEngineControl)), XmlInclude(typeof(AudioSourceConfiguration)), XmlInclude(typeof(VideoEncoderConfiguration)), GeneratedCode("svcutil", "3.0.4506.2152"), DebuggerStepThrough, DesignerCategory("code")]
    public class ConfigurationEntity
    {
        private string nameField;
        private string tokenField;
        private int useCountField;

        [XmlElement(Order=0)]
        public string Name
        {
            get
            {
                return this.nameField;
            }
            set
            {
                this.nameField = value;
            }
        }

        [XmlAttribute]
        public string token
        {
            get
            {
                return this.tokenField;
            }
            set
            {
                this.tokenField = value;
            }
        }

        [XmlElement(Order=1)]
        public int UseCount
        {
            get
            {
                return this.useCountField;
            }
            set
            {
                this.useCountField = value;
            }
        }
    }
}

